﻿using EmoneyWeiXinCommon;
using EmoneyWeiXinEntity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace EmoneyWeiXinDAL
{
    public class WinActionDal
    {
        public List<NewsEntity> getWinSJ(string mobile, int activetype)
        {
            string sql = "sp_win_sj";
            SQLTools tool = new SQLTools();
            tool.AddSqlParameter("mobile", System.Data.SqlDbType.VarChar, 15, mobile);
            tool.AddSqlParameter("activetype", System.Data.SqlDbType.Int, activetype);
            return SQLHelper.GetProcedureDataByColumnsLst<NewsEntity>(Config.Default, sql, tool.GetSqlParameters());
        }
    }
}
